﻿@model Fmis21_10.Models.Match

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Match</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Round)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Round)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Tournament.TournamentName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Tournament.TournamentName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Stadium.StadiumName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Stadium.StadiumName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Type)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Type)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Time)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Time)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Location)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Location)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Weather)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Weather)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.MatchSupervision)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MatchSupervision)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.RefereeSupervision)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.RefereeSupervision)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.HomeTeam)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.HomeTeam)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.AwayTeam)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AwayTeam)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.ScoreHomeTeam)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ScoreHomeTeam)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.ScoreAwayTeam)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ScoreAwayTeam)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
